package com.newaim.util;

import java.io.Serializable;
import java.util.UUID;


/**
 * Created by heath on 2018/7/3
 */

public  class TokenUtils implements Serializable {

    private  static String formKey=null;

    public static String getFormKey(){
        if(formKey==null){
            formKey = UUID.randomUUID().toString().replace("-", "");
        }
        return  formKey;
    }
    public  static void setFormKey(String key){
        formKey = key;
    }

}
